package 单例;

/**
 * @Author Klys
 * @Date 2023/3/5 14:21
 * @Description
 * @Version 1.0
 */
public class ENUMDemo {
    public static void main(String[] args) {
        ENUM s1 = ENUM.INSTANCE;
        ENUM s2 = ENUM.INSTANCE;
        System.out.println(s1);
        s1.sayHello();
        System.out.println(s1 == s2);
    }
}
